package fifth.Method;

public class CharAt {
    /*
    输出指定位置的字符
     */
    public static void main(String[] args) {
        String s ="abcdefg";
        String s1  = String.valueOf( s.charAt(3));
        System.out.println("取出下标为3处的字符:"+s1);
    }
}
